I want to track a user using Credit Card payment to complete an order! ( I don't use ecommerce tracking)
Is there a way to create a tag with 2 trigger condition?
Click trigger in Order-Form Page
Pageview trigger in Thank-you Page
Problem is these are not in the same page so i can't use trigger group.
the difference between cod and credit card is
COD => need to click 'order ' btn in order form
Credit => when it's succeed, automatically redirect to order_result.html
Please help!
If you have tracked the click on the CtA as an event in Order-Form Page, you can isolate sessions you want by creating a segment that include sessions that contain the event in Order-Form Page and the pageview in Thank-you Page.
Related
I want to track page views of items that are out of stock using Google Tag Manager events.
My trigger in GTM is based on the visibility of an element on the page (the out of stock notice). My event and tag are set to fire once per page. These conditions appear to be working properly.
At present, if I navigate to a product that is in stock, then the tag does not fire. If I then navigate to an item that is out of stock, the tag fires.
However: After viewing an out of stock item, as I continue to browse other in-stock items on the website, the event seems to persist as I can see in Google Analytics that my page view count displaying this event continue to rise for items that are not in stock.
I must have something configured wrong or misunderstand how something works.
I looked for solutions like ending an event or resetting the status of an event to no avail. What else should I consider?
EDIT:
Here is how my tag looks:
And here is my trigger:
On our site, https://www.nzmotorhomerentals.co.nz/ we have created an tag in our GTM container to track Adwords conversion, however are having issues getting the tag to fire when a user clicks the Confirm button at the end of the booking process. We believe this is due to the pop-up screen once a user clicks on a search result.
At the moment the booking process is as follows:
1. User lands on homepage or other landing page.
2. User enters search criteria, and clicks 'Search'
3. User lands on /results page and then clicks 'Select' on chosen vehicle
4. Pop-up window appears and user clicks 'Go to final step'
5. User lands on final booking page and clicks 'Confirm'. When a user clicks 'Confirm' this is when we want the tag to fire.
We have tried a wide range of trigger variables with no luck. We managed to get a tag to fire on step 1 when a user clicks 'Search' as a way of troubleshooting, however have not been able to get any tags to fire once a user lands on the /results page and further into the booking flow.
All content from /results onward is a custom piece of html that is pulling from a broker site (this website is an affiliate model). We are wondering if Google Manager is able to read this custom code at all.
Any assistance on how variables to set to fire this trigger is much appreciated.
your booking form is implemented in the iframe and is unavailable to Tag Manager.
Given that I want to track successful sign-ups
When I set up in Google Tag Manager:
Trigger type: Click - All Elements
Trigger fires on: click classes contain "ht-app__form-submit"
Then my trigger fires any time someone hits the "Sign button" on this page
https://www.myhometouch.com/app/register
OK.
However, I only want to track the clicks where the sign-up was successful, so I want to "check validation" but this creates two questions for me:
1. With trigger type "All Elements" you cannot enter a validation, but if I select the other option "Click - Just Links", then my Google Tag Manager debugger shows that my Tags are not firing anymore. So which event type do I need to set up in GTM?
2. After I find the right event, what would be the correct "check validation" to enter to make sure only successful sign-ups are counted? Would it be Click URL with some value? Any insight in this would be much appreciated.
many thanks
screenshot
I would push an event to dataLayer after the successfully validation (supposing you have access to the project code files where the validation is made)
dataLayer = window.dataLayer || [];
dataLayer.push({
'event' : 'signupEvent',
});
And then I'd use that event to create a custom trigger to fire the desired Tag
HTML forms and links (references) are two diffent type of things. Your form is not a link, so this is not the right path.
You also don't need the explicit click tracking but the form submission tracking. Select the trigger "form submit". Then check the box "check validation". In the next drop down you can select the variable "Click Classes". This one should contain the value of your form class.
You can declare a variable in Google Tag Manager that checks if the Login Form input texts are filled (not empty) and then, pass this variable to the trigger and set it to fire only if fileds are not empty.
Please find an example in these screenshots:
GTM variable
GTM trigger
Hope this was helpful !
Currently Im devloping a order page where customer choose the start level and end level, and it would calculate the price because It trigger the "selectindexchange" for the dropdownlist.
The payment method is paypal, which uses the method="post", but whenever I select the level it will just trigger the paypal "buy" button and direct the page to paypal payment page:(
you need to be sure that auto post back property is false for that controls so you require submit button to post it.
Example / Help : autoPostBack
Also use this in page_load
if(!isPostBack){
}
else{
}
which checks the page has load first time or after any post back.
I have multiple pages being tracked by google analytics. On all these pages I have an outbound link for which I make a call to create a custom event - the action is named the same on all the pages.
How can I see a breakdown of which pages caused this event to occur. I.e.
Page 1 - 7 clicks on outbound link, Page 2 - 2 clicks on outbound link, Page 3 - 1 clicks on outbound link, Page 4 - 19 clicks on outbound link
Thanks!
All events sent to Google Analytics send with the Page they were sent from (defined by location.pathname and location.search combined, if I'm not mistakened).
You can drill down into what pages those events occurred in by clicking the secondary dimension dropdown (by default, it says "None") and select "Page".
GA has made several changes since 2011, and so Yahel's answer is outdated.
To see all pages where an event fired, you need to go into Events >> Overview and click the event category you care about. This will take you into Top Events, where you can select secondary dimension Page to see top pages where your event category is firing.
You can drill down further by selecting Primary Dimension: Event Action and secondary dimension Page.