Aws SNS notifies Open tracking of email only the first time - Not triggered with subsequent email opens - amazon-sns

I have an open and click tracking configured for all the emails sent through Aws SES. Click has been notified to the configured callback URL every time I link in the email has been clicked successfully. Whereas, the opening of email is notified only the first time. Subsequent opening of emails is not notified. Is it the intended behavior or SES?
As I understand, SES adds a hidden tracking pixel inside emails and the loading of images from the trigger is considered as the opening of the email. If that's the case, the pixel should have been opened and notified every time. Can someone please clarify?

Related

Does long-polling work always even if the user switches app?

I have an application which sends notification to its subscribers through telegram.
For someone to subscribe, he needs to add his request in my website and after that, to identify his self, he needs to start a conversation with my bot using a secret code generated by the server.
For example, whenever he completes his request he should click a button which leads him out of my website and to telegram's chat (using ), in the background, the website is making long-pool requests to the server to check whether the server received a notification from telegram with this secret code abcd and to get the chat id assosiated with the request so it could store the request with this specific chat id.
The process seems to work just fine for many users, but for minor amount of users it's not working, they are starting a conversation with my bot but not getting any feedback about a success. It seems as whenever they leave the website (or the browser) and follow the path of the link (https://t.me/mybot?start=abcd) straight to telegram app, the long-pool is being stopped.does that happen sometimes when long-polling?

Send email automatically every day in App maker

I need to send an email alert everyday to notify pending Approvals to all approvers. Does this possible in App maker? Please suggest.
I am sending approval emails immediately after request created and this is working absolutely fine.
I want to know the event or an utility in App Maker which can help to trigger emails for pending approvals to approvers every day.
You can achieve this using Triggers in App Makers server script.
Please check the sample code below for more details.
ScriptApp.newTrigger("functionName").timeBased().everyDays(1).create();
You have to create a function which sends the email and add the name of the function in the place of newTrigger("functionName") with the quotes.

Tracking Email Opens with GTM Event

I'd like to trigger an event to identify when an image has been served upon visiting a site.
The goal is to use this event for email open tracking. I already have a tracking pixel embedded in the email that served from my website each time the user opens the email.
I have the event set up to store the 'Label' = a variable that contains the query string from the URL referre. This should in theory capture the utm parameters from the URL, for example:
website.com/1x1tracker.gif?utm_source=email&utm_campaign=emailcampaign1&utm_content=welcomeemail
Where I am getting stuck is the trigger for the event. For a normal image viewing event I could just do something with an 'Element Visible' trigger and be done with it, but since the image is requested from the website via the email client, no one actually visits the site.
Curious to hear thoughts on how I can get this event to be triggered by someone opening the email and having the request for the image sent to my site.
Thank you!
You won't be able to track email opens with GTM since it only works in a DOM environment and requires some Javascript to run on the page.
However, you can send events to Google Analytics through Measurement Protocol based on the parameters in your pixel URL. Google provides a sample code to do that on the help pages.

Check when any user is connected slack API

I want to know when any user is connected to my slack workspace. I know that with presence_change event I can get that info, but passing the user ID.
What I want to achieve is to send an event to my app (right now using ngrok) when any user is connected (eg. it status changes from disconnected to connected)
EDIT:
Finally I discovered that if you listen that event without user_id, it will returns the ID of the user that triggered that event. If this help anyone.
I know you already answered you own question and it's kinda old now, but it could help others.
Here is what could be done:
create a slack app
enable event subscriptions for this app in order to call your application webhook each time the 'presence change' event happens
in you application code, call slack api to get more details about the user that triggered this event
I detailed how to do these steps in this blog post for a very similar use case, but for another slack event (bot events), if needed: https://blog.eleven-labs.com/en/en/replace-erp-by-slack-bot-with-dialogflow-and-symfony/

Google Calendar API Push Notifications - Event Moves into the Past

I'm working on an app which allows users to confirm they attended a google calendar event. I'd like them to make the confirmation immediately after the end time of the event.
Will subscription to Google's event push notifications (https://developers.google.com/google-apps/calendar/v3/reference/events/watch) let me know when the event is over?
If not, what's the best way to solve the above problem?
Push notifications only let you know about changes on the calendar (someone moved the event, someone responded etc.). There are no push notifications at starts and ends of events.
You can still combine storing the events and watching the changes to them with having a cron job (or similar) to run your code when events end.

Resources