Hello, we're WordLift and we provide Structured Data as PaaS. We host Knowledge Graphs for our custo
Hello, we're WordLift and we provide Structured Data as PaaS. We host Knowledge Graphs for our customers and provide them with the structured data in JSON-LD format through an API, e.g. https://api.wordlift.io/data/https/example.org would return the structured data for the https://example.org web page.
Right now customers are required to load a tiny JavaScript which will fetch the api and inject the JSON-LD payload into the web page head in a script type=application/ld+json tag.
We would like to offload this part from the customers using CloudFlare, by creating a Managed Component(?) or a Worker(?) that would perform the fetch and the injection server-side.
I've been studying the Managed Components, but I don't see how I can use them for this specific case - embed still requires the customer to alter the web page with the embed code(?) and widget only words in body(?).
Are my understandings correct? Should I resort to Workers?
12 Replies
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Does Zaraz's Block Automated also include Verified Bots? The docs suggest it just includes the Automated category. Even if the bot is "good" we still don't need analytics to run on it.
I think worker with HTMLRewriter is better
https://developers.cloudflare.com/workers/runtime-apis/html-rewriter/
Cloudflare Docs
HTMLRewriter | Cloudflare Workers docs
Build comprehensive and expressive HTML parsers inside of a Worker application.
Hey! Can someone who is familiar with the custom managed components point me to the resource (or explain) how the manager.useCache() works?
I see that used in the demo: https://github.com/managed-components/demo/blob/main/src/index.ts
but cant understand how and when to use it (as I get an error, even if try to replicate the demo example).
Thanks . 🙂
GitHub
demo/src/index.ts at main · managed-components/demo
example Managed Component for inspiration & testing - managed-components/demo
Hello guys. I can't get zaraz to work on a domain that i own. I have a cloudflare pages Remix app with custom domain on clarastefania.ro with proxy active and correctly configured zaraz on Cloudflare Dashboard with GA4. It's says that it's on, but the script is not injected at all. I tried to make a subdomain with a wordpress website, here it's injected, but i receive 404 when it tries to load https://test.clarastefania.ro/cdn-cgi/zaraz/s.js (with some parameters) . Can someone please help me?
Outside of the built-in third-party integrations, what have you all successfully used Zaraz for? I'm particularly interested in whether Zaraz can be used for services that either add a lot of content to the DOM (e.g., BaazarVoice), are interactive in some way (e.g., chat bots like Gorgias), or more intensive analytics services that track user interaction (e.g., Hotjar).
Hi there zaraz community, I'm trying to understand how the Web API part of Zaraz could be utilised. I've inspected the code of the managed components, and it seems like the payload should be matched exactly to the integration. What exactly is the reasoning behind using Zaraz then in terms of server side? Why wouldn't I just make API calls to the native integrations from Meta (Graph API), TikTok Events API themselves?
For example, my webhook is making a call to the Zaraz WebAPI route, but this payload is only consistent with Meta Conversions API. I want to add GA4 + TikTok, etc. But does this mean I have to dive into the docs of all those and construct those payload bodies myself? I've inspected the TikTok managed component, the schema is configured as "email, phone" and not
em
. TikTok also provides a Payload Converter API that enables you to POST your pixel payload and they will convert it for you.
How can I use Zaraz with just 1 body and have it figure out the payload for the 3rd party tool? ThanksOr am I supposed to manually create actions in the dashboard and map all the variables to what I am sending? So I treat the Meta Conversions API schema as "base" and in the trigger or action thing in the dashboard i parse all the variables
I kind of expected Zaraz to be able to map pre-defined events to other providers and map the events and payload bodies accordingly
Without any extra configuration from my side
Zaraz is such a cool idea I wish there were more docs etc around it.
We are using the managed component of floodlight in our zaraz: https://github.com/managed-components/floodlight However I miss the implementation of handling parameters when I come to my site from an ad (handling the dclid parameter https://support.google.com/campaignmanager/answer/9182069?hl=en) to correctly track conversions to a specific campaign. Is this not part of the managed component? I already created an Issue on GIT but didnt get an answer yet, so I thought its maybe good to ask here 🙂 cheers
GitHub
GitHub - managed-components/floodlight
Contribute to managed-components/floodlight development by creating an account on GitHub.
Enhanced attribution - Campaign Manager 360 Help
Make sure your Floodlight activities are implemented either using the Google Tag Manager using the Conversion Linker. Learn more about the Conversion Linker in Google Tag Manager E
Is there some explanation on the earlier thread here ?
Its agnostic and should work for all of them
I currently have it working for GA4
It seems to mutate the fields to match the integration payload
if I am wrong someone please correct me