GTM: Transaction value without tax as variable
-
Hi Mozzers,
I'm trying to create a GTM variable for transaction value without tax. There is no datalayer field for this at the moment.
e.g. I only have these fields in the datalayer:
- Revenue (€19.99)
- Tax (€3.47)
- Price (€19.99)
No field with the price without tax. Is there a way to create a variable? Is it possible to work with a specific function?
Or is it standard to implement an extra field in the datalayer?
Many thanks,
Sander -
Hi James,
I can't figure out how to subtract the tax...
Thanks,
Sander
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
If website users don't accept GDPR cookie consent, does that prevent GA-GTM from tracking pageviews and any traffic from that user that would cause significant traffic decreases?
I've been doing a lot research on GDPR impact and implementation with GTM-GA for clients, but it's been 12 months since GDPR has gone live I haven't found anything on how GA traffic has been impacted if users don't accept cookie consent. However, I'm personally seeing GA accounts taking huge losses in traffic since implementing GDPR cookie solutions (because GTM/GA tags aren't firing until cookies are accepted). Is it common for websites to see significant decreases in traffic due to too many users not accepting cookie consent? Are there alternative solutions to avoid traffic loss like that and still maintain GDPR compliance? It seems to me that the industry underestimated how many people won't accept cookie consent. Most of the documentation and articles around GDPR's start (May 2018) didn't foresee or cover that aspect properly, everything seems to be technically focused with the assumption that if implemented properly most people would accept cookie consent, but I'm personally not seeing that trend and it's destroying GA data (lost traffic, minimal source attribution, inaccurate behavior data, etc). Thanks.
Reporting & Analytics | | Kickboard2 -
In Google Analytic Experiment I want to Judge Performance of Page Along with Pageviews, Bounces, Transaction etc
Hi All, For my ecommerce site for mobile site category page I have redesign the page in 2 different ways so one original page and 2 new designs. Now I want to do A/B testing with google experiment. I want to measure performance of page via pageviews, bounce rate, exit rate, conversion rate, add to basket etc. Now in objective for this experiment I can select anyone thing either Pageviews, or bounces or transaction or goal. So my query is 1) I cannot select all objective together? 2) or for same page I have to create too many experiments by selecting each objective? 3) exit rate or add to basket objective is not in experiment list so? Thanks!
Reporting & Analytics | | dsouzac0 -
Does referral exclusions remove the ecommerce value from Google Analytics?
Quick question on Referral exclusions. We have a client that just rebuilt their Magento website, referral data from Paypal was never an issue, the site properly attributed to source. New web devs finished the site and all purchases through Google Analytics from PayPal Is now showing as referral traffic. Doing research on the issue the suggestion was to create a referral exclusion in GA from PayPal. My question on that, will the ecommerce value default to the previous referral or will it delete the e-commerce value completely from what is gathered?
Reporting & Analytics | | BCutrer0 -
Variables in Google Tag Manager
Last week I got a great answer here on how to implement GTM and cross domain tracking, now that we have that in place I'm looking for some more advice 😉 I'm wondering that if we push variabels into the data-layer of GTM, can we actually use those variables in reports as well? Do they get recorded in Google Analytics? I'd like to use some data that we push to the data layer for segmentation purposes. Anybody an idea how to achieve this?
Reporting & Analytics | | jorisbrabants0 -
What's the new "Value" column in GWT about?
I was checking out our GWT this morning and noticed a new column on the far right that was labeled "Value". Currently, there isn't anything of value (no pun intended) listed just $Nan. Anyone else see this or know what it might be? 014pThY
Reporting & Analytics | | Shawn_Huber0 -
Offline conversions not as e-commerce transactions in universal analytics
I am working on a project to measure offline conversions with the new Universal Analytics from Google. When a lead gets the status "order" in my custom made lead management system, we sent the earlier grabbed Google client ID with the code below to Universal Analytics. The upload is working, although Analytics reports the conversion as an e-commerce transaction. I think the conversion must be uploaded as a analytics goal / event but I don't know what we can add to the code to let Analytics report it that way. Does anyone know how I can modify the code or Analytics settings to make sure that Google Analytics does not report it as eCommerce transaction? My code for uploading the Google Client ID to Analytics: <code>$ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, 'http:///collect'); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727)"); curl_setopt($ch, CURLOPT_POSTFIELDS, "v=1&tid=UA-XXXXXXXX-42&cid=379445656".urlencode('.')."1380816256&t=transaction&tr=123.00&ti=43388&z=".time()); curl_close ($ch);</code>
Reporting & Analytics | | timvermeulen6390 -
Conversion via Paypal not showing order value in google analytics
Hello All, I have an e commerce site, when goal conversion happens by CC(credit card) I can see order value in e commerce tab in Google analytics but when conversion happens through paypal I always see order value zero. I want see order value for Pay pal also.Please help me out. Thanks
Reporting & Analytics | | Alick3000 -
How "Assisted Conversion value" is calculated on Google Analytics?
Hi guys, Can any of you tell me how the Assisted Conversion Value is calculated under Assist Interacion Analysis? For the channel Direct, we have Assited Conversions: 6 Assited Conversion Value: 451,59 Last Click or Direct Conversions: 10 Last Click or Direct Conversion Value: 786,54 Assisted/Last Click or Direct Conversions: 0,60 How the value 451,59 is calculated? Thanks. Regards
Reporting & Analytics | | footd0