Good day all, I am trying to place this image in some emails I am sending out to track if the emails are opened and images are downloaded.
Image with source: src="https://www.google-analytics.com/collect?v=1&tid=UA-########-#&t=event&ec=email&ea=open&el=openmail&cm=email"
However no events are triggered on google analytics when the image is downloaded, could this be because of a syntax error in the image URL ?
All other google analytics campaigns such as page view tracking still works fine.
For one thing, it doesn't include a cid parameter which is required. You can add debug to the hit and see the status message returned through your browser. Alternatively you could try the Google Hit Builder to validate/build your hit.
Related
I'm having a little (big) problem using webhook on Dialogflow (API.AI) and Actions on Google.
I have enabled webhooks on Dialogflow, and I'm getting the requests when trying my intents on their console (on the right of the page). I have also completed actions on google integration (setting the welcome intent + auto propagating changes).
However whenever I try my app on a Google Assistant app (phone/google home/their simulator) I'm not getting any request to my server (not even a 404 one), but their debugger shows this error:
status": {
"code": 206,
"errorType": "partial_content",
"errorDetails": "Webhook call failed. Error: 404 Not Found"
},
Has anyone had the same problem, or knows a fix for this ? I know it's not on my end since dialogflow requests are arriving and being correctly responded to.
Jo's answer gave me some hint that solved my problem.
In my case, webhook doesn't work after I turned it on for my agent, so I switched to another agent in the DialogFlow console(top left corner), then switch back to my working agent, click Fulfillment and found it mysteriously got disabled!
So what I did was re-enabled and re-entered the webhook link then click save. After that it worked.
Hope this helps.
Okay, I'm not marking this as resolved because I believe there are many "bugs" on the implementation between Dialogflow and Actions on Google.
Take note that this works IF you are getting webhook requests from Dialogflow console (on the right of the page) but NOT from actions on google simulator.
1) Try changing the name of the app on the "Info" section of Actions on Google and sending messages from Google assistant asking Talk to <new_app_name>
2) Try opening another project from Actions on Google dropdown (up right) and opening the first one after (It causes some reloading on the back I guess)
3) Try both
These have been working for me
I was facing the same issue where the Fulfillment didn't get saved even though a successful message is shown. In my case, I only kept only one Dialogflow tabs (closed the rest) and after clicking on Save a few times, I refreshed the page and made sure the webhook was still enabled. Then tested the app on Simulator and got a post request to my server!
Please make sure the following points :
(1) you have to fill all parameters under Directory Information (you can find this information at Left pane of actionOnGoogle).
(2) your Webhook URL must be a valid HTTPS URL.
(3) please make sure your server is listening for post request as dialogFlow or actionOnGoogle will send POST request on given fulfillment URL.
Directory Information on actionOnGoogle
You might have given link in fulfillment tab for the webhook url starting with http. Dialogflow's internal architecture rejects links which starts with http. Please make it https and it will work. It worked for me.
The problems is since the mail is not an actual html page putting in webserver
The problems are:
How can i use the google analytics to check the open rate of the mail?
IF i use a random code eg. newsletter?code='sadsd' I can actually know who have opened the email?
Can i view the result by capture the data instead of login to google and view.
Thank you for any kind of help/ experience sharing.
How can i use the google analytics to check the open rate of the mail?
IF i use a random code eg. newsletter?code='sadsd' I can actually know who have opened the email?
You can't just write something and get something. First of all, if your question is referring to email campaigns then there is a well structured way to achieve this. You can use this for reference.
Can i view the result by capture the data instead of login to google and view?
Yes, by using GA-API , you can extract the data, store it in database and view it in your desired format.Also for testing purpose, by using tools like Omnibug or Charles you can test what values are getting passed to the google analytics server (through the Google Analytics Code placed to capture the data(from user interaction) and pass the data (to GA server)).
*Pardon me if I misunderstood your question.
I've been trying to integrate Facebook Credit purchases into my app, but any call to the pay dialog results in the error message "The application you are using is not responding." To eliminate any application specific problems, I've downloaded the Credits API Example and am just trying to get that to work -- it results in the same error message.
I've been trying for a couple of days to pinpoint this error message, but with no luck. Here's what I know so far:
Clicking the "Pay with Facebook" button results in error code 1383008, but there's no error_message being displayed.
I'm running Apache 2.2 on Windows 7. As far as I can tell, Apache is configured to allow requests from any source.
The canvas page is configured to point at http://localhost:8080/facebook.../ while the callback page is configured to point at http://localhost:8080/facebook.../callback.php. However, I have verified that the callback page is not being accessed.
I'm not sure how to verify whether or not Facebook is receiving my data correctly or if it's passing anything back. Any help in this regard would also be appreciated!
Credits attempts to make a callback to a web accessible url (or IP). If Facebook's spider cannot fetch the information from the callback script, then it will continue to return errors, since Facebook expects you to send information like the cost, name, image, custom parameters in order to process the payment.
Have a look at the creating a callback section of the docs:
http://developers.facebook.com/docs/creditsapi/
Adding to Fancis' answer, what you can do is setup a hole in your firewall and connect it to a dynamic dns service such as http://dyn.com/. Then you will be able to test your credits code.
While I haven't actually used it, an email analytics web app called Litmus claims to be able to track:
How long someone takes to read an email.
Whether it is forwarded.
Whether it is deleted.
Whether it is printed.
What email client was used to read it.
I'm curious about where it gets this information from. Most email clients i've seen don't even load external images without explicitly loading them, let alone javascript.
Even if a lot just support images, that wouldn't give away items 1-3.
Here's my best guess. As this link rockinthesixstring posted says, it relies on images but not javascript.
How long someone takes to read an email.
Place several images in the email that take a while to load, if the email is read for a long time, more are loaded.
Whether it is forwarded.
Is the image loaded from more than one IP/user agent?
Whether it is deleted.
The screenshots show this combined with glanced.
Whether it is printed.
Add a background image bug to a print stylesheet.
What email client was used to read it.
Check the user agent.
Any email analytics application I've seen use an image tracker. Basically if you attach a code generated 1x1 px image somewhere in the email, then during the loading of that image on the server side, you capture all of the ServerVariables
http://msdn.microsoft.com/en-us/library/ms524602%28VS.90%29.aspx
EDIT:
I just read some of the information on the Litmus website an it looks as though it confirms what I wrote above regarding image tracking
Most services offered online today that claim to "track" e-mails,But every one using image.
Is there any way to track the mail?
most of the mail servers blocking the images, after clicking the "download image" they show images,this is not exact tracking.(most of the peoples not like to download the images)
I'm searching other ways.
how this is work with out downloading image
img src="www.mysite.com/?promo=offer1">
You could request a read receipt, but again no guarantee of it being sent.
In short - no there is no way to track an email itself once it has left your local MTA.
If this is for a web promotion, the usual thing is to add a promo identifier to any links back to your website (e.g. "www.mysite.com/specialoffer1" or "www.mysite.com/?promo=offer1") so you can see who has visited as a result of receiving the email.