Forums / Search Engines / Google Analytics Tracking tags being stripped; AND checkout page header tag placement

Google Analytics Tracking tags being stripped; AND checkout page header tag placement

Views: 73

Results 1 to 4 of 4
22 Jun 2021, 7:39 PM
#1
apollowilcox avatar

apollowilcox

Zen Follower

Join Date:
Sep 2014
Location:
Indiana
Posts:
123
Plugin Contributions:
0

Google Analytics Tracking tags being stripped; AND checkout page header tag placement

Our recently hired marketing firm is attempting to enable effective google ads tracking and having trouble getting things to work w/ ZenCart. Here's their comment to me (which is pretty much over my head):

  1. A user comes to the site from an ad or clicks a link from a blog for example.
  2. This blog/ad has tracking on it in the form of "UTM parameters". These parameters have identifiers on them such as: source, medium, campaign, creative and more.
  3. The user reaches the site but the website for some reason removes all of the tracking. Which visually looks like this --

Any experience with this or advice to offer?

Secondly, as a workaround, he gave me a small script to place into the header tag of the order confirmation page. But i cannot figure out how to place that. Can anyone offer me some guidance on that?

Thank you.

Matt

22 Jun 2021, 10:58 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Google Analytics Tracking tags being stripped; AND checkout page header tag placement

May want to see if an .htaccess file was added to the root of your store and if so, what it is doing. Zen Cart doesn't strip those parameters by default. Something has been done/added/modified to remove them.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

23 Jun 2021, 2:01 PM
#3
apollowilcox avatar

apollowilcox

Zen Follower

Join Date:
Sep 2014
Location:
Indiana
Posts:
123
Plugin Contributions:
0

Re: Google Analytics Tracking tags being stripped; AND checkout page header tag placement

mc12345678:

May want to see if an .htaccess file was added to the root of your store and if so, what it is doing. Zen Cart doesn't strip those parameters by default. Something has been done/added/modified to remove them.

We will look at that. Thank you!

25 Jun 2021, 3:27 PM
#4
apollowilcox avatar

apollowilcox

Zen Follower

Join Date:
Sep 2014
Location:
Indiana
Posts:
123
Plugin Contributions:
0

Re: Google Analytics Tracking tags being stripped; AND checkout page header tag placement

mc12345678:

May want to see if an .htaccess file was added to the root of your store and if so, what it is doing. Zen Cart doesn't strip those parameters by default. Something has been done/added/modified to remove them.

It appears that our .htaccess is likely involved as it has been modified by the Ultimate SEO URL's (USU) plug-in which adds significant code. This was done by a developer we no longer use. Anyone have any ideas, advice about how to address this? Should we remove the USU Plug-in? So far, i cannot find any other forum post addressing this type of conflict. Thank you.