Advertiser Pixel usage

Has anyone here put tracking pixels on their apps or site with Replit?

I’ve built an app, and I’m looking to run some advertising now and need to install a pixel. I know I can ask Replit to do it, but curious if anyone has had any experience that would be helpful.

1 Like

We’re using apollo for that

Yes, you can, Josh. Just get the pixel code from whatever ad platform you’re using and tell the agent to add it to index.html. Then paste it into Agent chat. This will work for most configs.

Fast mode is fine for this.

2 Likes

As a quick aside, if you have trouble with it, sometimes it likes to be ‘smart’ and make it an injected code instead of directly in index.html - this will cause problems for some tracking. You want it in index.

1 Like

As Eric says, get agent to add to the index page.

And while you’re at it, get it to add all the other usual header meta data. Just ask it what to add if you’re not sure - it is pretty good at knowing all the latest bits, e.g. title, description, canonical url, favicon, facebook/twitter cards, OG, google analytics (if you use them)…

2 Likes

OG is so important (OpenGraph). Many people overlook this and a favico and it looks super shotty.

1 Like

Thank you. I appreciate the feedback, and you were right that none of the meta data, sitemap etc. had been added.

1 Like