This article shows how to connect your own analytics and ad tools to your TripNerve website, so you can measure Google and Meta ads and count website leads in them. You don't need these to see your visits: the Analytics screen in your workspace works without them.
Find your IDs
You need one or more of these, depending on the tools you use:
- Google Analytics 4 measurement ID: looks like G-XXXXXXXXXX. In Google Analytics, open Admin, then Data streams, then your web stream.
- Google Tag Manager container ID: looks like GTM-XXXXXXX. It's at the top of your Tag Manager workspace.
- Meta Pixel ID: a long number, such as 123456789012345. It's in Meta Events Manager, under Data sources.
Add them to your site
- Open Website, go to the Theme tab and use the back arrow at the top of the side panel to see all design settings.
- Choose Analytics and ads.
- Paste each ID into its field. You can paste the whole install code your tool gives you instead; the ID is picked out of it.
- If a field shows a message such as "A measurement ID looks like G-XXXXXXXXXX", check what you pasted. Only a complete, valid ID is saved.
- Publish your website. The tools start loading on the live site after that.
Count leads as conversions
Your site sends an event to each tool when a traveller sends an enquiry or a booking request:
- Enquiry sent: generate_lead in Google Analytics, enquiry_submitted in Tag Manager, Lead in Meta.
- Booking request sent: generate_lead in Google Analytics, booking_request_submitted in Tag Manager, Schedule in Meta.
In each tool, mark these as key events or conversions. Then a Google Ads campaign for "Annapurna Base Camp trek" can be judged on enquiries it brought in, not just clicks.
Cookie consent
Your site shows a cookie banner and a Cookie choices link in the footer. TripNerve adds both for you; you don't need to install a consent tool.
None of your tools load until a visitor accepts cookies. Visitors who decline aren't counted in Google Analytics or Meta, so expect their numbers to be lower than the visits on the Analytics screen.
Good to know
- Add each tool once. If your Tag Manager container already loads Google Analytics, fill in only the container ID, or visits may be counted twice.
- The design settings summary shows which tools are added, or None added.
- The Analytics screen counts visits without cookies and leaves out your team's own visits.
- To see each campaign on its own in Analytics, add utm_source and utm_campaign to links you share, for example ?utm_source=instagram&utm_campaign=autumn.
- Changes to these IDs save to your draft like any other website change, and go live when you publish.
