:doc:`PinpointEmail <../../pinpoint-email>` / Client / put_configuration_set_tracking_options

**************************************
put_configuration_set_tracking_options
**************************************



.. py:method:: PinpointEmail.Client.put_configuration_set_tracking_options(**kwargs)

  

  Specify a custom domain to use for open and click tracking elements in email that you send using Amazon Pinpoint.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetTrackingOptions>`_  


  **Request Syntax**
  ::

    response = client.put_configuration_set_tracking_options(
        ConfigurationSetName='string',
        CustomRedirectDomain='string'
    )
    
  :type ConfigurationSetName: string
  :param ConfigurationSetName: **[REQUIRED]** 

    The name of the configuration set that you want to add a custom tracking domain to.

    

  
  :type CustomRedirectDomain: string
  :param CustomRedirectDomain: 

    The domain that you want to use to track open and click events.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      An HTTP 200 response if the request succeeds, or an error message if the request fails.

      
  
  **Exceptions**
  
  *   :py:class:`PinpointEmail.Client.exceptions.NotFoundException`

  
  *   :py:class:`PinpointEmail.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`PinpointEmail.Client.exceptions.BadRequestException`

  