Tikra help

Connect Google Analytics 4

Tikra sends each paid online order to Google Analytics 4 (GA4) as a purchase event.

For GA4 purchase tracking on Shopify you log in to Google and choose your property and web stream.

Details

To use a key instead, you need the measurement ID of your web data stream and a Measurement Protocol API secret (steps 1 and 2). With a plan, Tikra also sends Google Analytics 4 the store events you turn on: page views, product views, add to cart, checkout started and payment info. See Store events.

On the Free plan, Google Analytics 4 keeps getting purchases, with Meta. Store events pause, and their settings are saved.

1. With a key: find the measurement ID

  1. In Google Analytics, go to Admin > Data streams and open your web stream.
  2. The measurement ID starts with G-, like G-AB12CD34EF.

2. With a key: create the API secret

  1. On the same web stream page, open Measurement Protocol API secrets.
  2. Click Create.
  3. Copy the Secret value.

3. Decide about the store's own Google Analytics 4 tracking

Google Analytics 4 starts getting orders from Tikra as soon as you save. If the store's own Google Analytics tag still sends purchases, Google Analytics 4 can count a purchase twice.

Tikra sends purchases to Google Analytics 4, and the store events you turn on, one by one, on the Events page.

Details

The store's own Google Analytics tag sends page views, sessions and traffic sources, product views, add to cart and checkout steps. The Google & YouTube sales channel has no switch for purchases alone, so removing its Google Analytics connection stops all of these events, and Google Analytics 4 then also cannot show where buyers came from. Do not remove it only to stop its purchases.

Choose one:

Also remove any other Google Analytics tag that sends purchase events. More in Turn off the store's own tracking.

4. Connect Google Analytics 4 in Tikra

  1. In Tikra, go to Platforms.
  2. On the platform's row, click Connect. The connect window opens from the right.
  3. In the Connect Google Analytics window, click Log in to Google, then Continue to Google, and choose your Google account. Choose your Google Analytics property and Web stream and click Connect Google Analytics, with the tick below if Tikra asks. To use the ID and secret instead, click Use a key instead.
  4. With a key, paste the measurement ID into Measurement ID.
  5. Paste the secret into Measurement Protocol API secret.
  6. Click Save and check.
  7. When Tikra asks, tick The store's own Google Analytics 4 purchase tracking is off. I understand that Google Analytics 4 then gets only purchases from Tikra. and click Save and check again. Tikra does not save without it. The tick is about purchases. Store events are turned on one by one on the Events page: see Store events.

Tikra sends a test event to Google's validation server first.

Details

When Google finds no problem with its format, the card says Google Analytics 4 is connected and its status changes to Connected. This check does not look at the measurement ID or the API secret, so a wrong one passes it too (step 5).

Until you approve the Free plan the form has no tick boxes, and Google Analytics 4 gets nothing from Tikra. The card says Orders start once you approve the Free plan.

Details

Keep the store's own Google Analytics 4 tracking on until you approve the Free plan. Then stop its purchases (step 3), click Go live on the platform's row, and tick both boxes there.

5. Check your next order in Google Analytics 4 Realtime

Google's check looks at the format of the events only.

Details

It does not check the measurement ID or the API secret. With a wrong one, Google still accepts each order and records nothing, and Tikra cannot see that. Google answers the same way whether or not it records an order, so Home shows Google Analytics 4 orders as sent, not confirmed, and Realtime is the real check.

After your next paid order, open the Realtime report in Google Analytics 4 and look for the purchase. If it does not appear:

  1. Open the order on the Orders page in Tikra. If Google Analytics 4 shows Left out, the order was never sent, and its line says why, for example "Not sent: the buyer did not allow analytics."
  2. If it shows Sent, check that the measurement ID belongs to your store's web stream.
  3. Create a new API secret on that web stream and save it in Tikra: click the platform's row, then Change details.

Send a test

  1. Click the platform's row.
  2. Then Send test.
  3. Then Send test again.
Details

Tikra sends a sample purchase to Google's validation server. It never appears in your reports. The test checks the event format only. It does not check the measurement ID or the API secret either, so Realtime stays the real check.

Order data: value, product ID and customer type

  1. Click the platform's row.
  2. Then Order data to open it (it is closed until you click it, and a line under it shows your current choice).

There you can change what Tikra sends. Click Save order data. New orders use your choice, and refunds follow it.

What Google Analytics 4 receives

Tikra sends to Google's collection address for the EU.

Google Analytics 4 takes a purchase dated at most 72 hours back.

Details

An order that goes out later, for example after a problem was fixed, is sent up to 7 days after payment and dated 71 hours before it was sent: Google Analytics 4 shows it on that day, it may not be tied to the buyer's visit, and the order's page in Tikra says so. Older orders are not sent to Google Analytics 4.

Change the details, pause or disconnect

Click the platform's row, then choose:

Still stuck? Email support@tikratracking.com with your store address and your measurement ID.