Is it possible to exclude links from tracking

后端 未结 3 1689
孤独总比滥情好
孤独总比滥情好 2021-02-18 22:14

I am building an app which is utilizing Sendgrid Marketing Email API, with the purpose of sending newsletters. It has a number of links to articles, but also banner ads and othe

3条回答
  •  灰色年华
    2021-02-18 22:18

    You can also disable Sendgrid's tracking using the api. To do this you set some email headers.

    Example X-SMTPAPI header value:

    {
      "filters" : {
        "clicktrack" : {
          "settings" : {
            "enable" : 0,
            "enable_text" : false
          }
        }
      }
    }
    
    

    This works for plain text emails.

    See: https://sendgrid.com/docs/for-developers/sending-email/smtp-filters/#filter-clicktrack

提交回复
热议问题