You have no items in your shopping cart.

Friday, April 19, 2024 10:47:22 PM

Google Tag Manager

Posted: 6 years ago

#6695 Quote

rpouvreau

Posted: 6 years ago

#6695 Quote
We have installed the Tracking Code Manager and set up a tag for Google Tag Manager. We have having an issue with the tracking code duplicating when we scroll down the page, this occurs with infinite scroll as well as with pagination. Is there additional script required to avoid duplication?

https://mail.google.com/mail/u/1/?ui=2&view=btop&ver=1hpw9nib2u62x#attid%253Datt_15edec3d4f59aca9_0.2

Posted: 6 years ago

#6696 Quote

Support

Posted: 6 years ago

#6696 Quote
No, we use native Google Tab Manager JavaScript and this script had to run one time.

Can you show me problem page (send me URL)?


Posted: 6 years ago

#6730 Quote

rpouvreau

Posted: 6 years ago

#6730 Quote
it is sitewide, but a smaple page is https://lifestylebybabettes.com/sofas. When you clic to page 2, https://lifestylebybabettes.com/sofas#/pageSize=6&orderBy=0&pageNumber=2, it is duplicating the tracking code.

Posted: 6 years ago

#6732 Quote

Support

Posted: 6 years ago

#6732 Quote
You are right....
The second page will have another products.... plugin will track new page (URL) and new products....
I must read documentation about such logic....

Posted: 6 years ago

#6745 Quote

Support

Posted: 6 years ago

#6745 Quote
Yes.
If you use Ajax for loading products you will have ONE pixel code (first loading of page).
You will use filters and pagination but we have static FIRST page.
Plugin doesn't send pixel.
Do you want to send pixel second time with new product list?


If you dons't use Ajax (each URL has another page) we'll have two different pages.
The second URL
https://lifestylebybabettes.com/sofas#/pageSize=6&orderBy=0&pageNumber=2
is different for Google.
Each page has own pixel with own list of products.


Posted: 6 years ago

#6819 Quote

webtech-kiwi

Posted: 6 years ago

#6819 Quote
Hi there, we have website setup, The Google Tag Manger using Custom setup - will work on all pages except the Order Confirm / Complete page; We are running NOP 3.9 - Once we complete order we go to the /orderdetails page....

Even when we select add to all pages this still doesn't work/.

Posted: 6 years ago

#6822 Quote

Support

Posted: 6 years ago

#6822 Quote
No, plugin adds tracking code on "Checkout Completed" (url yourstore.com/checkout/completed/{orderid})
Plugin adds tracking code only ONE time to one order. It's important.
Create fake order and try it.

If you skip checkout completed page and move to 'orderdetails page' your store will not send tracking code to Google Tag Manager.
Enable "Checkout Completed" page and check it.

P.S.
If you can't enable it and want to redirect customer to order details page I can add tracking code in order detail page too...




Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved