Questions and answers about ShopSite Custom Templates
Rgkopchak
Posts: 61 Joined: Wed Jul 28, 2010 7:45 am
Location: Missouri
Post
by Rgkopchak » Wed Jun 14, 2023 8:02 am
I am using a custom template, and I've gone through and updated the cart with the new code snippet from Google.
I have a question about updating the conversion metric though. Is it as simple as updating the AW-- to the the gtag number? Or is there more involved?
Code: Select all
<!-- Event snippet for Sales conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': 'AW--/rYLxCO79t6wBEOWQ_eAD',
'value': ss_ordertotal,
'currency': 'USD',
'transaction_id': ss_ordernum
});
</script>
cyoung
Posts: 146 Joined: Wed Nov 09, 2016 11:01 am
Post
by cyoung » Thu Jul 27, 2023 2:42 pm
I believe there is more involved. Here is some additional information about how you can more easily integrate google analytics into ShopSite.
https://www.shopsite.com/blog/2023/06/google-analytics-4-in-shopsite/