I've created some ampscript which will create a Note on the contacts account to let the account owner know this account has been sent an email. Inside the note contains the view_email_url so the account owner can take a look at the email that was sent to them.
The only issue with that is when they open the link to view the email its triggered as an Open on the reports. Is there anything else i can use instead of view_email_url so employees can click on a link to see the email without it triggering as an "Open"?
Below is the script I'm using at the moment:
%%[
IF _messagecontext == "SEND" Then
var @Job_id, @DE_ID, @AccountID, @Web_Link, @createNote, @currentTime
set @job_id = jobid
set @Web_Link = view_email_url
set @AccountID = Lookup("ENT.Contact_Salesforce_7","AccountId","Contact_ID_18__c", _subscriberkey)
set @currentTime = Now()
set @currentTime = format(@currentTime,"dd/MM/yyyy @ hh:mm")
set @DE_ID = Concat(@job_id, '-', @AccountID)
IF IsNull(@AccountID) == "false" THEN
set @notebody = Concat('This customer has had a new email sent to them on ', @currentTime, '. Click on the link below to view the email: ', @Web_Link)
set @createNote = CreateSalesforceObject(
"Note__c", 3,
"Account__c", @AccountID,
"Body__c", @notebody,
"Title__c", "New Email Sent To Customer")
UpsertDE("GB_SENT_WEBLINK", 1, "ID", @DE_ID, "JobID", @job_id, "ContactID", _subscriberkey, "AccountID", @AccountID, "Web_Link", @Web_Link, "Email_Sent", NOW(), "NoteID", @createNote)
ELSE
UpsertDE("GB_SENT_WEBLINK", 1, "ID", @DE_ID, "JobID", @job_id, "ContactID", _subscriberkey, "AccountID", @AccountID, "Web_Link", @Web_Link, "Email_Sent", NOW())
ENDIF
EndIF
]%%
Any help would be much appreciated.