Tuesday, July 18, 2023
HomeFacebook MarketingTesting Zaraz to Set Up Fb Conversions API

Testing Zaraz to Set Up Fb Conversions API


I’ve been looking for a Fb Conversions API different to the API Gateway that works seamlessly with Google Tag Supervisor. I’ll have discovered it in Zaraz.

To be clear, the API Gateway works nice. However I’ve heard persistently that its AWS internet hosting costs many small companies out. In truth, I’d like to discover a extra reasonably priced possibility myself if it’s accessible.

Zaraz seems to suit the invoice in each approach for me. Not solely does it make the most of triggers in lots of the similar methods as Google Tag Supervisor, however it might not value a factor.

I’m nonetheless testing. We’re within the technique of determining deduplication. However let me clarify what excites me about Zaraz…

What’s Zaraz?

Zaraz is a third-party software supervisor constructed by Cloudflare. I’m not going to attempt to clarify the technical capabilities of the software as a result of that’s not my experience.

What I do know is that amongst its capabilities is sending internet occasions for Fb Conversions API. And never solely is it constructed by Cloudflare, however it’s constructed into it.

In different phrases, if you happen to already pay for Cloudflare for caching (like I do), you’ll be able to arrange the Conversions API with out spending one other penny.

Zaraz

One thing I didn’t instantly perceive is that Zaraz isn’t a substitute for Google Tag Supervisor’s client-side occasions. Zaraz will solely ship the server-side occasions.

We’ll want to deal with that later.

Triggers

One of many powers of Zaraz is the triggers. When you’ve created customized occasions with Google Tag Supervisor earlier than (certainly one of my absolute favourite issues), you’ll be proper at house right here.

In reality, it’s infinitely simpler with Zaraz. Zaraz triggers are based mostly on guidelines.

Zaraz Triggers

A lot of this requires some information of CSS. I’m going to skip that and go straight to the simple and highly effective stuff.

You’ll be able to create triggers utilizing a timer. For instance, you’ll be able to have a set off fireplace as soon as a customer has spent 60 seconds on a web page.

Zaraz Timer Trigger

Or you’ll be able to create a set off utilizing scroll depth. For instance, fireplace a set off when a customer scrolls at the very least midway down a web page.

Zaraz Scroll Depth Event

These are two triggers that I take advantage of for my “high quality visitors” customized occasions which can be arrange in Google Tag Supervisor.

Right here’s an instance of the scroll depth set off with Google Tag Supervisor…

And a timer in GTM…

Occasions

Upon getting your triggers, you’ll be able to create occasions in Zaraz. No coding is important.

Right here’s what it seems prefer to create an occasion for a 3 Minute go to on a web page that fires when the three Minute set off occurs.

Zaraz API Event

That’s it. So extremely easy.

Testing

I need to make this level shortly as a result of I don’t need anybody to be confused like I used to be. While you take a look at these occasions, they won’t seem within the Fb Pixel Helper.

Some folks could know that. I took it without any consideration as a result of after I used the API Gateway, the entire similar occasions had been being despatched each client-side and server-side. So, I didn’t understand that solely the client-side occasions appeared.

To check server-side occasions, you’ll must go to the Testing space of Occasions Supervisor.

Server-Side Testing

Deduplication

As talked about on the prime, occasions created with Zaraz will solely be server-side (API). You will want one other technique for managing client-side to fireside pixel occasions. I take advantage of Google Tag Supervisor.

Since occasions will fireplace from each places independently, we’re introduced with a problem. If a 50% scroll depth occasion fires from Zaraz and from Google Tag Supervisor for a similar scroll from the identical consumer, how does Fb know that it’s the identical occasion?

First, you would theoretically run most of your occasions server-side and solely use Google Tag Supervisor for occasions that Zaraz can’t create. I wouldn’t take into account myself an knowledgeable on this, however my understanding is that Zaraz can’t replicate occasions I’ve created in Google Tag Supervisor for performs of my podcast participant or embedded YouTube movies.

That’s not essentially the most effective apply, although. If potential, you need to ship the occasion each server-side and client-side after which deduplicate them.

I’ve Joel Hughes and his staff from Glass Mountains serving to me with that a part of it (sturdy advice if you happen to want their assist). The answer seems to be associated to an external_id and different technical stuff that’s approach over my pay grade.

As soon as I get that sorted out, I’ll present particulars on how deduplication was achieved as a way to do it, too.

Watch Video

I recorded a video about this, too. Test it out under…

Your Flip

Have you ever experimented with Zaraz? What do you assume?

Let me know within the feedback under!



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments