We have modified the script a bit, and added one more exception in the rules (the page that you are redirecting to) - see both updated in the original post. Strangely, yesterday after updating, it wouldn’t work but when I tried today it was all up and running. Maybe there was a cache or something.
Please give it a try
Thanks!
i’m afraid it still doesn’t work, we’ll play with it some more and I’ll update if we find something
Ok cool thx again! Tried some settings as well but it’s no data or no redirect
Hey Dave,
i’m afraid to make a fast conclusion but seems like it works we’ve updated the snippet (see the original post - i’ve updated it there as well).
Hope it works for you as well!
Let’s hope so! Will take a look and let you know THX!
You did it! It works perfect (I think) Thanks again for all the help
great catch, Dave, thanks!
maybe robots.txt as well?
Yes I think so
Any idea how to handle the social share card (thumbnail + text) because when people share their link they share domain.com/name instead of domain.com/id/name
I think Bubble has only one thumbnail per app, so regardless of the shared page that thumbnail will be picked by the social network, right?
Can you not set your meta tags per page to include open graph and twitter cards?
not sure if this would be possible …
Requirements: Bubble paid plan
Problem: You can’t get rid of the og:url Bubble injects. May not be a problem if Bubble interprets your URL correctly with all the Cloudflare worker thingy going on.
Partial solution: You could potentially delete the first og:url meta tag with JS
Problem: A lot of crawlers(like FB one) don’t execute js code.
Thanks Jon I think it partly works check:
The url is good because it’s the /i/ page. Only it gives 2 images and shows the default one when I test it on Twitter cards. This is also true for the other tags.
So I think it’s not possible to have a different Twitter card per page?
I just found out if you use twitter:card
tags you can change a few things that are shown, but can’t use any dynamic data other than the url path.
Wow that’s quite limited. I didn’t event try the dynamic expression composer because I was assuming it was the usual one restricted to returning text.
Maybe send an email to support to ask them to enhance this. Specifically removing all the default meta tags like the image one.