I have website A that includes an iframe pointing to a chatbot hosted on website B.
Both websites are on completely different domains but I control both.
Some external team is creating facebook ads for us and we need to track the conversion rate from the moment the user lands on website A to the moment he ends a conversation with the chatbot on website B.
From what I understand, when you click on a facebook ad it redirects to the target and adds a fbclid query parameter that the faceboook pixel stores as a cookie and that's how it knows it's tracking someone that clicked on an ad.
Question 1 : Am I right?
Question 2 : In that case, how would I tell the facebook pixel on website B that the user is the same one than on website A?
I was thinking that adding the fbclid param manually to website B iframe url would be enough.
Would that be the way to go?
Related
During checking traffic source on e-commerce website i get confused.
I know that param gclid=.. means that user is tagged by GoogleAds, while fbclid works the same way but with facebook.
However, I dont understand what does it mean while they are both together in single url, like:
www.example.com?gclid=CjwKCAiAyrXiBRAjEiwATI95mafT26kwak0CFBgICH0ZlLqafSBuyyoUBVZihf22pPdG9QK8DUmiZBoCh8YQAvD_BwE&gclsrc=aw.ds&fbclid=IwAR0oihEZbw0Q43GXiv4YW9n_G9odTEcpxzLtMxjYYqgrTt5EM-BcKqrJyuU
Is it possible that google ads is displaying ads on facebook and that is why gclid and fbclid are attached to url at the same time?
I have asked the same question on support google and get reply from them.
This case happens when a link including gclid is pasted on a Facebook
page and somebody clicks on the link.
Source to answer.
Actually it's quite possible and normal.
If user searches on web via Google, clicks on Ad and is redirected to page, for example https://example.com/index?gclid=randomstring then it displays at the top of their browser.
Now user can copy this link and share it via Messenger (more common case) or facebook to someone. Then Facebook will not remove gclid and append fbclid.
As a result, you get a link with both these parameters.
I've made a website, which relies on Facebook OAuth in order for the user to participate in a competition.
The canvas URL within Facebook differentiates between https://www.mycompetition.com/ and https://mycompetition.com
Our server is set up to receive both entries, but if I enter the site using www, Facebook complains that the URL doesn't match when authorizing.
Do you know how to make Facebook accept both entries?
Solved, by the way. The webserver now contains two websites. The first contains the website, the second one just redirects to the first one, using JS. Easy :)
all.
I want to add utm_ parameters to all my social share buttons. I successfully included the parameters into the Twitter and G+ without any problems. But have a lot of problems with Facebook and Pinterest.
Pinterest strip any utm_ parameters.
Facebook uses a canonical URL instead of I provided.
Solutions I was tried:
1) using an URL shortener bit.ly. Pinterest doesn't allow to use it. Facebook still use the canonical URL instead of one I provided
2) Use the fb_ref for the Facebook. We use Wordpress VIP hosting and this hosting strips any parameters from facebook.
3) Rename the utm_ parameters to utm. It was fixed the problem but I want to keep all my tracking info consistent.
Any ideas? Thanks
UPDATE 12/21/13
I want to have the following. Scenario:
1) user shares the content from my site (http://example.com/url/?utm_campaign=onsitesharebutton)
2) user's friend goes to Social Network, for example Pinterest, and see this Pin
3) user's friend clicks on this Pin and goes to my site. When he goes to my site, I wanted to have the utm_* parameters in the URL, ie http://example.com/url/?utm_campaign=onsitesharebutton. In this way I will know that this user arrived through a certain source or overall marketing channel as part of a certain campaign
Problems:
1) Pinterest strips UTM_* parameters from the my URLs
2) Facebook uses canonical URL to share and ignores my UTM_* parameters
I still would like to change a few things about the Facebook Like / Share button and Google+ button seems to sometimes have issues in Safari, but I successfully track likes, pins, +1s, tweets, and even LinkedIn using a variety of techniques.
Facebooks recent changes to their buttons just confused me. I had everything working and then they change all.js or whatever the JavaScript is you must use. They also changed the colors and size. I wasted a lot of time on this and I'm still not happy but I do track everything carefully in Google Analytics.
Our database has an entry for our companies' Facebook and Twitter pages. With Twitter, it's possible to create dynamic links based solely on the company's Twitter handler. For instance, if the company provides us with the Twitter handle acme, we can dynamically create a link to their Twitter page with <a href='http://www.twitter.com/#{company.twitter_name}'></a>.
In some instances, the same is true of Facebook. Coca Cola for instance has http://www.facebook.com/cocacola. Many other companies have a url that looks more like http://www.facebook.com/pages/acme/123456789. In the latter case, the numerical id at the end is necessary to reach the page. The URL http://www.facebook.com/pages/acme would not work.
My question is, is there a way to dynamically link to a Facebook company page with just their handle? Or do you always need to provide a full URL? I'm hoping Facebook has some magic back door for developers that I simply haven't happened upon yet. Thanks for your feedback, one way or the other!
A link in the form http(s)://facebook.com/profile.php?id={nummeric_id_here} always works, for pages as well as for user profiles.
It automatically redirects to the “real” address – to the username that the user or page might have set, or to an address in the form you mentioned (for pages that do not have enough likes yet to set their own user name).
I'm planning on launching a website and an accompanying facebook page. Although each of these 'sites' will have their own goal, I'd like to have a 2-way sync set-up for part of the user generated content on my site, such that:
Content published on my site (by editors, or users) that satisfies some criteria are pushed to the wall of the accompanying facebook page
The other way around: content published on the facebook page wall by users, is pushed to my website. (I want to be in complete control of how to format, display, annotate that content, so I'm not looking for some ready-made widgets)
For 2. I'm pretty sure I can poll for a newsfeed or channel of the specific facebook page at regular intervals, but I'm wondering if a tighter integration is possible, i.e: pushing the changed content(delta's, river whatever you want to call it) to a dedicated rest-endpoint from which my website can consume the contents or something.
For 1. I need an automated way to post to the wall of the facebook page I own. Preferrably with the user-credentials (if okayed by the user) if that user was logged-in on my site through Facebook, or otherwise with some fallback credential, e.g: my own facebook credentials.
Just looking for some pointers where to start looking in the vast Developer Facebook resources, or, better yet, some libraries (prefferably Node.js, but others are okay to look at architecture) that take care of some of the plumbing
1) You can post on page with different ways
as a user : You need user access token and he should be a fan of the page or If your fan page allows wall posts from any user in its settings.
as a page : You need page access token
You can get page access token and extend it for long time and store it in DB. You can use it 60 days.
FYI:
Extended access token
Tutorial
2) Using graph API you can pull at regular intervals. There is a real time notification system also but it very limited for pages (its not useful for your case).
FYI: Real Time Updates